/**
 * 
 */
package com.ap.core.bulkupload.service;

import java.io.InputStream;

import com.ap.core.bulkupload.types.BulkFileUploadEnum;
import com.ap.core.bulkupload.validation.info.ValidationResult;
import com.ap.core.exception.APCoreException;

/**
 * The Interface SchemaValidationService.
 * 
 * @author Siva.Pochana
 */
public interface SchemaValidationService<V> {

	/**
	 * Validate.
	 * 
	 * @param bulkUploadTypes
	 *            the bulk upload types
	 * @return the validation result
	 * @throws APCoreException
	 *             the aP core exception
	 */
	ValidationResult validate(BulkFileUploadEnum bulkUploadTypes, InputStream inputStream)
			throws APCoreException;
}
